%ifdef CONFIG
{
  "HostFeatures": ["AVX"],
  "RegData": {
    "XMM2": ["0xE403E40424042404", "0x0404040404040404", "0x0000000000000000", "0x0000000000000000"],
    "XMM3": ["0x0404040404040404", "0xE403E40424042404", "0x0000000000000000", "0x0000000000000000"],
    "XMM4": ["0xE403E40424042404", "0x0404040404040404", "0x1111111111111111", "0xEEEEEEEFEEEEEEEF"],
    "XMM5": ["0x0404040404040404", "0xE403E40424042404", "0xEEEEEEEFEEEEEEEF", "0x1111111111111111"]
  }
}
%endif

lea rdx, [rel .data]

vmovaps ymm0, [rdx]
vmovaps ymm1, [rdx + 32]

vphsubd xmm2, xmm0, [rdx + 32]
vphsubd xmm3, xmm1, [rdx]

vphsubd ymm4, ymm0, [rdx + 32]
vphsubd ymm5, ymm1, [rdx]

hlt

align 32
.data:
dq 0x5142634475468748
dq 0x5152435435562758
dq 0xCCCCCCCCDDDDDDDD
dq 0xEEEEEEEEFFFFFFFF

dq 0x6172637465766778
dq 0x7162736475667768
dq 0x9999999988888888
dq 0x7777777766666666
